<template>
	<div class="icons-list">
		<div v-for="item in iconsList" :key="item.iconClass" class="icon-box">
			<div>
				<p>{{item.text}}</p>
				<i :class="item.iconClass"></i>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		name: 'ele-icons',
		props: ['iconsList'],
		data() {
			return {}
		}
	}
</script>

<style lang="less">
	.icons-list {
		display: flex;
		.icon-box {
			display: flex;
			flex-wrap: wrap;
			width: 25%;
			height: 200px;
			justify-content: center;
			align-items: center;
			div {
				padding: 30px 10px;
				text-align: center;
				width: 100px;
				border: 1px solid #99A9BF;
				border-radius: 3px;
				p {
					font-size: 16px;
					margin-bottom: 20px;
				}
				i {
					font-size: 32px;
					color: #696969;
				}
			}
		}
	}
</style>